<!-- Template for Operation -->
<table class="editor_table">
    <tr>
        <td colspan="2">
            <a href="javascript: project.currentEditor.evBackToParent();"
               class="editor_back_to_parent_ref">back to class</a>
        </td>
    </tr>
    <tr>
        <td class="editor_header">Operation</td>
        <td class="editor_header_right">
            <img src="media/icons/icon_trash_16px.png" class="editor_list_trash_button" 
                 onclick="project.currentEditor.evDeleteModel();"
                 title="Delete operation"/>
        </td>
    </tr>
    <tr>
        <td class="editor_left_column">Name:</td>
        <td class="editor_right_column">
            <input type="text" id="OperationAttributeName"
                   onkeyup="project.currentEditor.evPropertyChanged('name', this.value);">
        </td>
    </tr>
    <tr>
        <td class="editor_left_column">Visibility:</td>
        <td class="editor_right_column">
            <select id="OperationAttributeVisitility"
                    onchange="project.currentEditor.evPropertyChanged('visibility', this.value);">
                <option value="+">Public</option>
                <option value="#">Protected</option>
                <option value="-">Private</option>
            </select>
        </td>
    </tr>
    <tr>
        <td class="editor_left_column">IsClassifier:</td>
        <td class="editor_right_column">
            <input type="checkbox" id="OperationAttributeOwnership"
                   onchange="project.currentEditor.evPropertyChanged('isClassifier', this.checked);"/>
        </td>
    </tr>
    <tr>
        <td class="editor_left_column">IsAbstract:</td>
        <td class="editor_right_column">
            <input type="checkbox" id="OperationAttributeIsAbstract"
                   onchange="project.currentEditor.evPropertyChanged('isAbstract', this.checked);"/>
        </td>
    </tr>
    <tr>
        <td class="editor_left_column">Return&nbsp;Type:</td>
        <td class="editor_right_column">
            <select id="OperationAttributeReturnType"
                    onchange="project.currentEditor.evPropertyChanged('returnType', this.value);">
                <!-- Types go here -->
            </select>
        </td>
    </tr>
    
    <tr>
        <td colspan="2">
            <hr/>
        </td>
    </tr>
    
    <tr>
        <td class="editor_header">Parameters</td>
        <td class="editor_header_right">
            <img src="media/icons/icon_add_16px.png" class="editor_list_add_button" 
                 onclick="project.currentEditor.evNewParameter();"
                 title="Create new parameter"/>
        </td>
    </tr>
    <tr>
        <td colspan="2">
            <table id="OperationAttributeParameterList" class="editor_list_table">
                <!-- Parameters go here -->
            </table>
        </td>
    </tr>
    
    <tr>
        <td colspan="2">
            <hr/>
        </td>
    </tr>
    
    <tr>
        <td class="editor_header">Stereotypes</td>
        <td class="editor_header_right">
            <img src="media/icons/icon_add_16px.png" class="editor_list_add_button" 
                 onclick="project.currentEditor.evNewStereotype();"
                 title="Create new stereotype"/>
        </td>
    </tr>
    <tr>
        <td colspan="2">
            <table id="OperationAttributeStereotypeList" class="editor_list_table">
                <!-- Stereotypes go here -->
            </table>
        </td>
    </tr>
</table>
